package sctu.edu.java.year2016.team04.luoxinghua.day20160526.chapter8_2;

/**
 * Created by 落叶的思恋 on 2016/5/27.
 */

import java.util.Scanner;

public class Feather {
   float aa;
    float bb;


    public  Feather() {
        this.aa=aa;
        this.bb=bb;
    }

    public void scanf() {
        Scanner scan = new Scanner(System.in);
        this.aa = scan.nextFloat();
        this.bb = scan.nextFloat();
        if (aa > 0 && bb > 0) {

        } else
            System.out.println("我只认大于0的数否则输入有误");
    }

    public  void max() {
        System.out.println("我求的最大数");
        float temp;
        if (aa > bb)
            temp = aa;
        else
            temp = bb;
        System.out.println("最大的数是："+temp);


    }

    public float Ride() {
        System.out.println("我算的是乘积"+aa*bb);
return aa*bb;
    }
}